package hcn.protocol.ods.returnVisit;

import java.util.List;
import java.util.Map;

public class DrugInfoResponse {
    private int total;
    private List<drug> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<drug> getList() {
        return list;
    }

    public void setList(List<drug> list) {
        this.list = list;
    }

    public static class drug {
        private String drugId;//药品id
        private String drugName;//药品名称
        private String drugCode;//药品编码
        private String apprDrugCode;//药品通用编码
        private String apprDrugName;//药品通用名称
        private String factoryId;//药品产地id
        private String factoryName;//药品产地名称
        private int quantity;//药品数量
        private String unit;//单位/药房单位
        private int dose;//剂量/一次剂量
        private String doseUnit;//剂量单位
        private double price;//单价
        private String frequencyCode;//用药频次编码
        private String usageCode;//药品用法编码
        private String usageName;//药品用法名称
        private String specifications;//药品规格
        private String drugDose;//药品剂量
        private String drugGrade;
        private String inventory;//药品库存
        private Map<String,String> drugAuthority;

        public String getDrugId() {
            return drugId;
        }

        public void setDrugId(String drugId) {
            this.drugId = drugId;
        }

        public String getDrugName() {
            return drugName;
        }

        public void setDrugName(String drugName) {
            this.drugName = drugName;
        }

        public String getDrugCode() {
            return drugCode;
        }

        public void setDrugCode(String drugCode) {
            this.drugCode = drugCode;
        }

        public String getApprDrugCode() {
            return apprDrugCode;
        }

        public void setApprDrugCode(String apprDrugCode) {
            this.apprDrugCode = apprDrugCode;
        }

        public String getApprDrugName() {
            return apprDrugName;
        }

        public void setApprDrugName(String apprDrugName) {
            this.apprDrugName = apprDrugName;
        }

        public String getFactoryId() {
            return factoryId;
        }

        public void setFactoryId(String factoryId) {
            this.factoryId = factoryId;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getDose() {
            return dose;
        }

        public void setDose(int dose) {
            this.dose = dose;
        }

        public String getDoseUnit() {
            return doseUnit;
        }

        public void setDoseUnit(String doseUnit) {
            this.doseUnit = doseUnit;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getFrequencyCode() {
            return frequencyCode;
        }

        public void setFrequencyCode(String frequencyCode) {
            this.frequencyCode = frequencyCode;
        }

        public String getUsageCode() {
            return usageCode;
        }

        public void setUsageCode(String usageCode) {
            this.usageCode = usageCode;
        }

        public String getUsageName() {
            return usageName;
        }

        public void setUsageName(String usageName) {
            this.usageName = usageName;
        }

        public String getSpecifications() {
            return specifications;
        }

        public void setSpecifications(String specifications) {
            this.specifications = specifications;
        }

        public String getDrugDose() {
            return drugDose;
        }

        public void setDrugDose(String drugDose) {
            this.drugDose = drugDose;
        }

        public String getDrugGrade() {
            return drugGrade;
        }

        public void setDrugGrade(String drugGrade) {
            this.drugGrade = drugGrade;
        }

        public String getInventory() {
            return inventory;
        }

        public void setInventory(String inventory) {
            this.inventory = inventory;
        }

        public Map<String, String> getDrugAuthority() {
            return drugAuthority;
        }

        public void setDrugAuthority(Map<String, String> drugAuthority) {
            this.drugAuthority = drugAuthority;
        }
    }

}